package cn.com.pet.common.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.pet.common.dao.AlbumMapper;
import cn.com.pet.common.entity.Album;
import cn.com.pet.common.service.AlbumService;
@Service("albumService")
public class AlbumServiceImpl implements AlbumService {

	@Autowired
	AlbumMapper albumMapper;
	@Override
	public List<Album> getAlbums(Album album) {
		// TODO Auto-generated method stub
		return albumMapper.getAlbums(album);
	}

	@Override
	public void addAlbum(Album album) {
		albumMapper.addAlbum(album);
	}

	@Override
	public void updateAlbum(Album album) {
		// TODO Auto-generated method stub
		albumMapper.updateAlbum(album);
	}

}
